Skip to content

Set up the Python venv with shell-neutral VS Code process tasks - #51

Merged
Malcolmnixon merged 1 commit into
mainfrom
vscode-venv-process-tasks
Nov 17, 2026
Merged

Malcolmnixon merged 1 commit into
mainfrom
vscode-venv-process-tasks

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Follow-up to the LintMark/Node.js-removal sweep. The setup python venv VS Code task used PowerShell-only syntax on Windows and a bare relative pip path, which fails under cmd.exe. It is now two process tasks (no shell involved): create python venv runs python -m venv .venv, and setup python venv runs the venv's python -m pip install -r pip-requirements.txt. lint yaml depends on it as before.

The previous Windows command used PowerShell-only syntax and a bare relative pip path. Two process tasks now create .venv and install pip-requirements.txt with the venv's python -m pip, independent of the configured shell.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 17, 2026 06:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported, and the task updates preserve the lint dependency flow while enabling cross-platform virtual-environment setup.

No open issues 🎉

What changed in this PR

Updates the VS Code Python environment setup tasks to use shell-neutral process tasks across Windows and POSIX environments while preserving the existing lint dependency flow.

Changes:

  • Adds a dedicated task to create the Python virtual environment.
  • Installs dependencies through the virtual environment’s Python interpreter.
  • Preserves lint yaml’s dependency on environment setup.
File Description
.vscode/​tasks.json Defines cross-platform process tasks for creating and populating .venv while retaining the YAML lint integration.

Review effort: Lite

@Malcolmnixon
Malcolmnixon merged commit 0f59b94 into main Nov 17, 2026
8 checks passed
@Malcolmnixon
Malcolmnixon deleted the vscode-venv-process-tasks branch November 17, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants